﻿using System.ComponentModel;
using System.Windows;

namespace Flux.Editor.Extensions
{
	public static class DependencyObjectExtensions
	{
		public static bool IsInDesignMode(this DependencyObject element)
		{
			return DesignerProperties.GetIsInDesignMode(element);
		}
	}
}